package org.fixed.dubboconsumer.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 〈一句话功能简述>
 * ${DESCRIPTION}
 * Author:xuzhongwei
 * Date:2019/1/3
 */

public class ResourceDTO {

    /**
     * 接口名
     */
    private String interfaceName;
    /**
     * 方法列表
     */
    private List<MethodDTO> methodList = new ArrayList<>();

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public List<MethodDTO> getMethodList() {
        return methodList;
    }

    public void setMethodList(List<MethodDTO> methodList) {
        this.methodList = methodList;
    }

    public void addMethod(MethodDTO methodDTO){
        methodList.add(methodDTO);
    }

}
